<?php

declare(strict_types=1);

namespace App\Constants\CustomModuleField;

use Hyperf\Constants\Annotation\Constants;
use Hyperf\Constants\Annotation\Message;
use Hyperf\Constants\EnumConstantsTrait;

/**
 * 自定义模块字段-类型-枚举类
 */
#[Constants]
enum CustomModuleFieldTypeEnum: int
{
        use EnumConstantsTrait;

        #[Message("enum.customModuleField.type.1")]
        case DEFINITION_1 = 1;

        #[Message("enum.customModuleField.type.2")]
        case DEFINITION_2 = 2;

        #[Message("enum.customModuleField.type.3")]
        case DEFINITION_3 = 3;

        #[Message("enum.customModuleField.type.4")]
        case DEFINITION_4 = 4;

        #[Message("enum.customModuleField.type.5")]
        case DEFINITION_5 = 5;
}
